<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY ndash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html" encoding="utf-8" 
		doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" 
		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
	<xsl:template match="/">
	<html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<title><xsl:value-of select="dashboard/dashboard_information/page_title" /></title>
			<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />		
			<link rel="stylesheet" href="./ui/styles/dashboard_common.css" type="text/css" media="screen" />
			<!--[if lte IE 6]>
				<link rel="stylesheet" href="./ui/styles/ie6Legacy.css" type="text/css" media="screen" />
			<![endif]-->
			<script type="text/javascript" src="./ui/behaviors/library/prototype.js"></script>
			<script type="text/javascript" src="./ui/behaviors/library/effects/effects.js"></script>
			<script type="text/javascript" src="./ui/behaviors/library/utilities.js"></script>
			<script type="text/javascript" src="./ui/behaviors/dashboard_scripts.js"></script>
			<style type="text/css">
				#content_main {
					background: transparent url(./ui/images/dashboard/<xsl:value-of select="dashboard/dashboard_information/@cols" />col_contentBackground.jpg) 30px 0 repeat-y;
				}
				#branding h2 {
					background: transparent url(<xsl:value-of select="dashboard/dashboard_information/logo/@location" />) 600px 10px no-repeat;
				}
			</style>
		</head>
		<body id="dashboard">
			<div id="container">
				<div id="branding">
					<h1><a href="http://www.temel.com" rel="external" title="Temel Inc.">Temel Inc.</a></h1>
					<h2><xsl:value-of select="dashboard/dashboard_information/headline" /> &ndash; Project Dashboard</h2>
				
					<p>
						<xsl:apply-templates select="dashboard/dashboard_information/general_text" />
					</p>
				</div>
				<div id="content_main" class="clearfix">
					<xsl:apply-templates select="dashboard/files" />
					<xsl:apply-templates select="dashboard/jpgs" />
					<xsl:apply-templates select="dashboard/dev" />
				</div>
			</div>
			<div id="siteInfo">
				&copy; 
			</div>
		</body>		
	</html>
</xsl:template>

<xsl:template match="dashboard/dasboard_information/general_text">
	<xsl:apply-templates />
</xsl:template>

<xsl:template match="dashboard/files">
	<div id="content_psd">
		<h3 title="Files">Files</h3>
		<div class="content_column">
			<p>
				<xsl:value-of select="message" /> 
			</p>					
			<ul>			
			<xsl:for-each select="set">
				<li class="headline">
					<a href="#" class="drop"><xsl:value-of select="@title" /></a>
					<ul style="display: none;">
						<xsl:for-each select="link">
							<li class="file"><a href="{@location}" rel="external" title="{@text}"><xsl:value-of select="@text" /></a></li>
						</xsl:for-each>
					</ul>
				</li>
			</xsl:for-each>					
			</ul>						
		</div>
	</div>
</xsl:template>

<xsl:template match="dashboard/jpgs">
	<div id="content_jpg">
		<h3 title="JPGs"> JPGs</h3>
		<div class="content_column">
			<p>
				<xsl:value-of select="message" /> 
			</p>					
			<ul>			
			<xsl:for-each select="set">
				<li class="headline">
					<a href="#" class="drop"><xsl:value-of select="@title" /></a>
					<ul style="display: none;">
						<xsl:for-each select="link">
							<li class="file"><a href="{@location}" rel="external" title="{@text}"><xsl:value-of select="@text" /></a></li>
						</xsl:for-each>
					</ul>
				</li>
			</xsl:for-each>					
			</ul>
		</div>			
	</div>
</xsl:template>

<xsl:template match="dashboard/dev">
	<div id="content_developedPages">
		<h3>Developed Pages</h3>
		<div class="content_column">
			<p>
				<xsl:value-of select="message" /> 
			</p>					
			<ul>			
			<xsl:for-each select="set">
				<li class="headline">
					<a href="#" class="drop"><xsl:value-of select="@title" /></a>
					<ul style="display: none;">
						<xsl:for-each select="link">
							<li class="file"><a href="{@location}"  rel="external" title="{@text}"><xsl:value-of select="@text" /></a></li>
						</xsl:for-each>
					</ul>
				</li>
			</xsl:for-each>					
			</ul>					
		</div>			
	</div>
</xsl:template>

</xsl:stylesheet>